/**
 * Created by toma on 2016-7-9 22:03:44
 * @project SZG
 * @version 1.0.1
 */

seajs.config({
  base: '../../',
  alias: {
    'jquery': 'lib/jquery.min.js',
    'bootstrap': 'lib/bootstrap.min.js',
    'angular': 'lib/angular.min.js',

    // 模块
    'login': 'js/main/login.js',
    'table': 'js/main/table.js',
    'image': 'js/main/imageupload.js',
    'register': 'js/main/register.js',
    'customer': 'js/main/customer.js',
    'product': 'js/main/product.js',
    'inventory': 'js/main/product.inventory.js',
    'sales': 'js/main/sales.js',
    'print': 'css/print.css',
    'fzg': 'js/main/fzg.js',
    'services': 'js/main/services.js',
    'management': 'js/main/management.js',

    // 插件
    'layer': 'lib/layer/layer.js',
    'layer-css': 'lib/layer/skin/layer.css',
    'timepicker': 'lib/datetimepicker/js/bootstrap-datetimepicker.js',
    'tker-css': 'lib/datetimepicker/css/bootstrap-datetimepicker.min.css',
    'calendar': 'lib/calendar.js',
    'swiper':'lib/swiper.jquery.min.js',
    'swiper-css':'lib/swiper.min.css'
  }
});

seajs.use('jquery',function () {
  $(function () {
    seajs.use(['bootstrap','layer','layer-css']);
  });
});